﻿using AutoMapper;
using FlyingEye.Devices;
using FlyingEye.DeviceServices;

namespace FlyingEye
{
    public class ApplicationProfile : Profile
    {
        public ApplicationProfile()
        {
            CreateMap<DeviceConfigurationModel, DeviceConfigurationResponse>();

            CreateMap<CreateDeviceConfigurationRequest, DeviceConfigurationModel>();

            CreateMap<UpdateDeviceConfigurationRequest, DeviceConfigurationModel>();

            CreateMap<DeviceClientModel,DeviceClientResponse>();

            CreateMap<CreateDeviceClientRequest, DeviceClientModel>();

            CreateMap<UpdateDeviceClientRequest, DeviceClientModel>();
        }
    }
}
